package com.whosly.mysql.protocol.packet.impl.ok.data;

import java.io.Serializable;

/**
 * @author 风杨
 * @see <a href="yueny09@163.com">mailTo: yueny09@163.com</a>
 */
class PIDItemFormat implements Serializable {
    private static final String FORMAT = "pid#(%s),. ";

    public static final String format(Long pid){
        if(pid == null){
            return "";
        }

        return String.format(FORMAT, pid);
    }
}
